<%@ Page Language="VB" MasterPageFile="~/Pagina_Maestra.master" AutoEventWireup="false" CodeFile="NuevoIngeniero.aspx.vb" Inherits="NuevoIngeniero" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">

        .style6
        {
            height: 26px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript">
        function validaFormato(campo) {
            return (/\.(pdf)$/).test(campo.value);
        }
        function AcceptNum(evt) {

            var nav4 = window.Event ? true : false;
            var key = nav4 ? evt.which : evt.keyCode;

            return (key <= 13 || (key >= 48 && key <= 57) || key == 44);

        }
        
    </script>
    <table class="style5" style="width: 498px">
        <tr>
            <td align="center" colspan="2">
                <asp:Label ID="Label1" runat="server" Text="REGISTRAR INGENIERO" BorderStyle="Groove" 
                Font-Names="Lucida Sans" Font-Size="X-Large"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="Nombre Usuario"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtnombre" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtnombre" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style6">
                <asp:Label ID="Label3" runat="server" Text="Apellido Paterno"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="txtapellidopaterno" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtapellidopaterno" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style6">
                <asp:Label ID="Label4" runat="server" Text="Apellido Materno"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="txtapellidomaterno" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtapellidomaterno" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label5" runat="server" Text="ID Usuario"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtid" runat="server"></asp:TextBox>
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtid" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label8" runat="server" Text="Password Usuario"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtpass" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="txtpass" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
            </td>
        </tr>
      
            <td>
                <asp:Label ID="Label9" runat="server" Text="Profesion"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtprofesion" runat="server"></asp:TextBox>
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="txtprofesion" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
            </td>
        
        
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label10" runat="server" Text="Email"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                    ControlToValidate="txtemail" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label12" runat="server" Text="Direccion"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtdireccion" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                    ControlToValidate="txtdireccion" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Area</td>
            <td>
                <asp:DropDownList ID="ddpEtapa" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Cargo</td>
            <td>
                <asp:DropDownList ID="ddpEstado" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:Button ID="btnProcesar" runat="server" Text="REGISTRAR" 
                    style="height: 26px" />
&nbsp;
                <asp:Button ID="Button1" runat="server" Text="CANCELAR" />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>



